<?php

namespace App\Enums\MiniAPP;

enum AssistantReserveStatus : string
{
    //待审核
    case Pending = 'pending';

    //已通过
    case Passed = 'passed';

    //已拒绝
    case Rejected = 'rejected';

    public function label()
    {
        return match ($this) {
            self::Pending => '待审核',
            self::Passed => '预约成功',
            self::Rejected => '预约失败',
        };
    }
}
